﻿#pragma once

//实现vtk渲染窗口的功能

#include "DlgBase.h"



class CreateSphereDlg: public DlgBase
{
public:
    CreateSphereDlg(QWidget* parent = nullptr);
    ~CreateSphereDlg();

    bool create();
    void initUI() override;
    void manageConnections() override;

private:
    double m_centerPoint[3] = { 0, -5, 0 };
    double m_radius = 1;

    MyCoordinateEdit* m_centerEdit = nullptr;
    MyDoubleEdit* m_radiusEdit = nullptr;

    //ok button
    QPushButton* m_okBtn = nullptr;

    //cancel button
    QPushButton* m_cancelBtn = nullptr;
};


